package com.atguigu.yygh.statistic.service;

import com.atguigu.yygh.order.client.OrderInfoFeignClient;
import com.atguigu.yygh.vo.order.OrderCountQueryVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * ClassName: StatisticService
 * Package: com.atguigu.yygh.statistic.service
 * Description:
 *
 * @Author: cqk
 * @Create: 2023/10/8 - 14:24
 * @Version: v1.0
 */
@Service
public class StatisticService {

    @Autowired
    private OrderInfoFeignClient orderInfoFeignClient;

    public Map<String, Object> statistic(OrderCountQueryVo orderCountQueryVo) {
        return  orderInfoFeignClient.statistic(orderCountQueryVo);
    }
}
